home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / Multiprocessing.idl < prev    next >
Text File  |  1996-05-01  |  1KB  |  71 lines

  1. /*
  2.      File:        Multiprocessing.idl
  3.  
  4.      Contains:    Multiprocessing interfaces
  5.  
  6.      Version:    Technology:    System 8
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __MULTIPROCESSING_IDL__
  19. #define __MULTIPROCESSING_IDL__
  20.  
  21. #include <somobj.idl>
  22. #include <somcls.idl>
  23.  
  24. #ifndef __TYPES_IDL__
  25. #include <Types.idl>
  26. #endif
  27. #ifndef __CODEFRAGMENTS_IDL__
  28. #include <CodeFragments.idl>
  29. #endif
  30. #ifndef __KERNEL_IDL__
  31. #include <Kernel.idl>
  32. #endif
  33. #ifndef __TIMING_IDL__
  34. #include <Timing.idl>
  35. #endif
  36.  
  37. #ifdef __SOMIDL__
  38.  
  39. #if FOR_SYSTEM7_ONLY
  40. typedef OpaquePtr                MPTaskID;
  41.  
  42. typedef OpaquePtr                MPQueueID;
  43.  
  44. typedef UInt32                    MPTaskOptions;
  45.  
  46. typedef OpaquePtr TaskProc;
  47. #endif
  48. #if FOR_SYSTEM8_PREEMPTIVE
  49. typedef TaskID                    MPTaskID;
  50.  
  51. typedef KernelQueueID            MPQueueID;
  52.  
  53. typedef TaskOptions                MPTaskOptions;
  54.  
  55. #endif
  56. #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
  57. typedef OpaquePtr                MPSemaphoreID;
  58.  
  59. typedef OpaquePtr                MPCriticalRegionID;
  60.  
  61. typedef UInt32                    MPSemaphoreCount;
  62.  
  63. #endif
  64. #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
  65. #endif
  66.  
  67. #endif /* __SOMIDL__ */
  68.  
  69. #endif /* __MULTIPROCESSING_IDL__ */
  70.  
  71.